﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace QYmall.Core.Model.ViewModels
{
    /// <summary>
    /// 订单发货货品
    /// </summary>
    public class OrderDeliveryGoodsDto
    {
        /// <summary>
        /// 自增ID
        /// </summary>
        [Display(Name = "自增ID")]
        public long Id { get; set; }

        /// <summary>
        /// 发货ID
        /// </summary>
        [Display(Name = "发货ID")]
        public long DeliveryId { get; set; }

        /// <summary>
        /// 所属订单货品
        /// </summary>
        [Display(Name = "所属订单货品")]
        public long OrderGoodsId { get; set; }

        /// <summary>
        /// 订单货品
        /// </summary>
        public OrderGoodsDto? OrderGoods { get; set; }
    }
}
